import request from '@/utils/request'

// 查询排期检测数据列表
export function listAirExhaustData(query) {
  return request({
    url: '/data_manage/airExhaustData/list',
    method: 'get',
    params: query
  })
}

// 查询排期检测数据详细
export function getAirExhaustData(id) {
  return request({
    url: `/data_manage/airExhaustData/${id}`,
    method: 'get'
  })
}

// 新增排期检测数据
export function addAirExhaustData(data) {
  return request({
    url: '/data_manage/airExhaustData',
    method: 'post',
    data: data
  })
}

// 修改排期检测数据
export function updateAirExhaustData(data) {
  return request({
    url: '/data_manage/airExhaustData',
    method: 'put',
    data: data
  })
}

// 删除排期检测数据
export function delAirExhaustData(id) {
  return request({
    url: `/data_manage/airExhaustData/${id}`,
    method: 'delete'
  })
}
